package com.qing.reflection;

import java.lang.annotation.ElementType;

public class AllTypeClass {
    public static void main(String[] args) {
        Class c1 = Object.class;//类
        Class c2 = void.class;//void
        Class c3 = Class.class;//Class
        Class c4 = ElementType.class;//枚举
        Class c5 = Comparable.class;//接口
        Class c6 = String[].class;//一维数组
        Class c7 = String[][].class;//二维数组
        Class c8 = SuppressWarnings.class;//注解
        Class c9 = Integer.class;//基本数据类型

        System.out.println(c1);//class java.lang.Object
        System.out.println(c2);//void
        System.out.println(c3);//class java.lang.Class
        System.out.println(c4);//class java.lang.annotation.ElementType
        System.out.println(c5);//interface java.lang.Comparable
        System.out.println(c6);//class [Ljava.lang.String;
        System.out.println(c7);//class [[Ljava.lang.String;
        System.out.println(c8);//interface java.lang.SuppressWarnings
        System.out.println(c9);//class java.lang.Integer
    }
}
